package com.shadow.bus.main.history;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.shadow.bus.adapter.ExpandableItemAdapter;
import com.shadow.bus.entity.PersonEntity;


/**
 * Created by luoxw on 2016/8/10.
 */

public class Level1Item extends AbstractExpandableItem<PersonEntity> implements MultiItemEntity {
    public String mTroubleDes;
    public String mFixContent;
    public String mPersonName;

    public Level1Item(String troubleDes, String fixContent, String personName) {
        this.mTroubleDes = troubleDes;
        this.mFixContent = fixContent;
        this.mPersonName = personName;
    }

    @Override
    public int getItemType() {
        return ExpandableItemAdapter.TYPE_LEVEL_1;
    }

    @Override
    public int getLevel() {
        return 1;
    }
}